package edu.sctu.practice.class01.nieyu.test.test06;

/**
 * Created by Administrator on 2015/10/15.
 */
public class Truck extends Vehicles {
    float load;

    public Truck(String brand, String color, float load) {

        super(brand, color);
        this.load = load;

    }

    public void showTruck() {

        super.showInfo();
        System.out.println("" + load);

    }
}
